<?php
include 'connect.php';

$del =$_POST['delete'];

$query = "DELETE FROM list
WHERE activity='$del'";

if (!mysql_query($query,$con))
  {
  include 'login.html';
  }
include 'awal.html';
?>